<%@ page import="java.util.ArrayList" %>
<%@ page import="com.itheima.bean.Student" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
  <head>
    <title>查看学生</title>
  </head>
  <body>
<%--  <%request.getAttribute("student");%>--%>
  <table border="1"width="80%"align="center">
    <tr>
      <th>姓名</th>
      <th>年龄</th>
      <th>成绩</th>
    </tr>
    <c:forEach items="${student}" var="s">
      <tr>
        <td>${s.name}</td>
        <td>${s.age}</td>
        <td>${s.score}</td>
      </tr>
    </c:forEach>
  </table>
  </body>
</html>
